<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>2.1.v-text指令</title>
    <script src="vue.js"></script>
</head>
<body>
    <div id="app">
        <h2 v-text="message+'!'">济南</h2>
        <h2 v-text="info+'!'">济南</h2>
        <h2>
            {{message+"!"}}济南
        </h2>
    </div>
    <script>
        let app =new Vue({
            el:"#app",
            data:{
                message:"你好!!!",
                info:"前端Vue"
            }
        })
    </script>
</body>
</html>